package com.ms.p2p.service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.ms.p2p.entity.system.PayMethodValue;
import com.ms.p2p.provider.PayMethodValueProvider;
import org.springframework.stereotype.Service;

/**
 * Created by daimajia on 2015/4/22.
 */
@Service
public class PayMethodValueService {
    @Reference
    PayMethodValueProvider payMethodValueProvider;

    public PayMethodValue findByName(String key){

        return payMethodValueProvider.findByName(key);
    }
}
